package com.erp.itm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.erp.itm.dao.ProjecttypeDao;
import com.erp.itm.domain.ProjecttypeDO;
import com.erp.itm.service.ProjecttypeService;



@Service
public class ProjecttypeServiceImpl implements ProjecttypeService {
	@Autowired
	private ProjecttypeDao projecttypeDao;
	
	@Override
	public ProjecttypeDO get(Long id){
		return projecttypeDao.get(id);
	}
	
	@Override
	public List<ProjecttypeDO> list(Map<String, Object> map){
		return projecttypeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return projecttypeDao.count(map);
	}
	
	@Override
	public int save(ProjecttypeDO projecttype){
		return projecttypeDao.save(projecttype);
	}
	
	@Override
	public int update(ProjecttypeDO projecttype){
		return projecttypeDao.update(projecttype);
	}
	
	@Override
	public int remove(Long id){
		return projecttypeDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return projecttypeDao.batchRemove(ids);
	}
	
}
